package com.example.demo.mapper;

import com.example.demo.model.entity.Student;
import com.example.demo.model.request.StudentQueryRequest;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface StudentMapper {

    /**
     * 按成绩相似性查询学生（优先同专业、同学院）
     */
    List<Student> selectSimilarStudents(StudentQueryRequest request);

    /**
     * 按目标院校查询学生（优先同专业、同学院）
     */
    List<Student> selectByTargetSchool(StudentQueryRequest request);
}